package com.ruoyi.system.domain;

import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * @author Ly lilongfei
 * @date 2024/8/26
 * @Description
 */
public class ResultFileDTO {

    //文件
    private MultipartFile excelFile;
    //日期
    Date date;

    public MultipartFile getExcelFile() {
        return excelFile;
    }

    public ResultFileDTO(MultipartFile excelFile) {
        this.excelFile = excelFile;
    }

    public void setExcelFile(MultipartFile excelFile) {
        this.excelFile = excelFile;
    }

    //运动员姓名
    String athleteName;
    //运动员id
    Integer athleteId;
    //教练姓名
    String coachName;

    public ResultFileDTO() {
    }

    //项目类型 双向/多向
    Integer game;
    //类型 训练/考核/比赛
    Integer type;

    public ResultFileDTO(Date date, String athleteName, Integer athleteId, String coachName, Integer game, Integer type) {
        this.date = date;
        this.athleteName = athleteName;
        this.athleteId = athleteId;
        this.coachName = coachName;
        this.game = game;
        this.type = type;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getAthleteName() {
        return athleteName;
    }

    public void setAthleteName(String athleteName) {
        this.athleteName = athleteName;
    }

    public Integer getAthleteId() {
        return athleteId;
    }

    public void setAthleteId(Integer athleteId) {
        this.athleteId = athleteId;
    }

    public String getCoachName() {
        return coachName;
    }

    public void setCoachName(String coachName) {
        this.coachName = coachName;
    }

    public Integer getGame() {
        return game;
    }

    public void setGame(Integer game) {
        this.game = game;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
